﻿using AiXiu.BLL;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using AiXiu.Model;

namespace AiXiu.WebSite
{
    public partial class UserAddList : System.Web.UI.Page
    {
        protected void Page_Load(object sender, EventArgs e)
        {
            //添加
            if (!IsPostBack)
            {
                //UsersBLL users = new UsersBLL();
                //var user = new TBUsers()
                //{
                //    Id = 1001,
                //    NickName = "陈宇阀",
                //    Avatar = null,
                //    Sex = 14,
                //    Birthday = DateTime.Now,
                //    Address = "篮球",
                //    Hobby = "ni",
                //    CreationTime = DateTime.Now
                //};
                //var list = users.Add(user);
                //删除
                UsersBLL users1 = new UsersBLL();
                var listq = users1.Delete(10007);
            }
        }
    }
}